<template>
  <mybutton v-for="i in 5" :num="i" :title="'savebutton'"></mybutton>
  <hr>
  <p v-for="({name,id},index) in list">
    {{ id }}=={{ name }}
  </p>

  <p v-for="item in list">
    {{ item.name }}
  </p>

</template>
<script lang="ts" setup>
import {ref} from 'vue'
import mybutton from './components/mybutton.vue'

const list = ref([{id: 10, name: '李四'}, {id: 200, name: '张三'}, {id: 3000, name: '张三丰'}])
</script>
